﻿using System;
using System.Collections.Generic;
using System.Linq;
using Beauty.Module.Pos;
using MonoTouch.Foundation;
using MonoTouch.UIKit;

namespace Beauty
{
	public class productItem
	{
		public string Name { get; set;  }
		public UIImage ProductImage { get; set;}

		public productItem ()
		{
			 var random = new Random ();
			 var nextInt = random.Next (1, 4);
			Name = string.Format("pro_{0}",nextInt);
			var fileName =string.Format("pro_{0}",nextInt);
			ProductImage = PosUtility.ImageFrom (fileName);
		}
	}
	public class ServiceItem
	{
		public string Name { get; set;  }
		public UIImage ServiceImage { get; set;}

		public ServiceItem ()
		{
			var random = new Random ();
			var nextInt = random.Next (1, 4);
			Name = string.Format("ser_{0}",nextInt);
			var fileName =string.Format("ser_{0}",nextInt);
			ServiceImage = PosUtility.ImageFrom (fileName);
		}
	}
	public class packageItem
	{
		public string Name { get; set;  }
		public UIImage PackageImage { get; set;}

		public packageItem ()
		{
			var random = new Random ();
			var nextInt = random.Next (1, 4);
			Name = string.Format("pac_{0}",nextInt);
			var fileName =string.Format("pac_{0}",nextInt);
			PackageImage = PosUtility.ImageFrom (fileName);
		}
	}
	public class giftItem
	{
		public string Name { get; set;  }
		public UIImage giftImage { get; set;}

		public giftItem ()
		{
			var random = new Random ();
			var nextInt = random.Next (1, 4);
			Name = string.Format("gif{0}",nextInt);
			var fileName =string.Format("gif{0}",nextInt);
			giftImage = PosUtility.ImageFrom (fileName);
		}
	}
	public class discountItem
	{
		public string Name { get; set;  }
		public UIImage discountImage { get; set;}

		public discountItem ()
		{
			var random = new Random ();
			var nextInt = random.Next (1, 5);
			Name = string.Format("dis_{0}",nextInt);
			var fileName =string.Format("dis_{0}",nextInt);
			discountImage = PosUtility.ImageFrom (fileName);
		}
	}
}

